import { defineUserConfig, defaultTheme } from "vuepress";

export default defineUserConfig({
    title: "OEMSAAS开发文档",
    description: "",
    theme: defaultTheme({
        // 默认主题配置
        navbar: [
            {
                text: "商城指南",
                link: "/home/"
            }
        ],
        sidebar: {
            "/home/": [
                {
                    text: "快速上手",
                    children: [
                        {
                            text: "环境依赖",
                            link: "/home/environment.md",
                            children: []
                        },
                        {
                            text: "生产依赖",
                            link: "/home/local.md",
                            children: []
                        }
                    ]
                },
                {
                    text: "liquid",
                    children: [
                        {
                            text: "基础操作",
                            link: "/liquid/jicheng.md",
                            children: []
                        },
                        {
                            text: "扩展过滤器",
                            link: "https://github.com",
                            children: []
                        },
                        {
                            text: "扩展Tag",
                            link: "https://github.com",
                            children: []
                        }
                    ]
                },
                {
                    text: "开发",
                    children: [
                        {
                            text: "目录介绍",
                            link: "/liquid/jicheng.md",
                            children: []
                        },
                        {
                            text: "模版开发",
                            link: "https://github.com",
                            children: []
                        },
                        {
                            text: "default-默认模版",
                            link: "https://github.com",
                            children: []
                        },
                        {
                            text: "system-结账流程",
                            link: "https://github.com",
                            children: []
                        },
                        {
                            text: "常见问题",
                            link: "https://github.com",
                            children: []
                        }
                    ]
                },
                {
                    text: "模版装修",
                    children: [
                        {
                            text: "介绍",
                            link: "/liquid/jicheng.md",
                            children: []
                        },
                        {
                            text: "组件",
                            link: "https://github.com",
                            children: []
                        }
                    ]
                }
            ],
            "/reference/": [
                {
                    text: "Reference",
                    children: ["/reference/cli.md", "/reference/config.md"]
                }
            ]
        }
    })
});
